{% extends "pos/base.html" %} {% load static %} {% block title %}Business Worth Report{% endblock %} {% block stylesheets %} {% endblock %} {% block heading %}Business Worth Report{% endblock %} {% block content %}
{# Date Filters, Compare & Print + Show Multi Toggle #}
{% if is_master %}
{% endif %}
{% if is_master %} {% endif %}
{# ——— rest of your tables unchanged ——— #} {% for section in sections %}
{{ section.title }}
{% for entry in section.entries %} {% endfor %}
Item Total
{{ entry.key }} {{ entry.total|floatformat:2 }}
{% if entry.items.0.category %} {% elif entry.items.0.bank_name %} {% else %} {% endif %} {% for it in entry.items %} {% if it.category %} {% elif it.bank_name %} {% else %} {% endif %} {% empty %} {% endfor %}
CategoryValueBankBalanceNameBalance
{{ it.category }} {{ it.value|floatformat:2 }}{{ it.bank_name }} {{ it.balance|floatformat:2 }}{{ it.name }} {{ it.bal|floatformat:2 }}
No details
{% endfor %}
Total Assets: {{ assets_total|floatformat:2 }}  |  Total Liabilities: {{ liabilities_total|floatformat:2 }}  |  Total Growth: {{ growth|floatformat:2 }}
{% if compare_date %} {% for section in cmp_sections %}
Change in {{ section.title }}
{% for row in section.entries %} {% endfor %}
Metric Then Now Δ
{{ row.key }} {{ row.then|floatformat:2 }} {{ row.now|floatformat:2 }} {{ row.delta|floatformat:2 }}
Total {{ section.totals.then|floatformat:2 }} {{ section.totals.now|floatformat:2 }} {{ section.totals.delta|floatformat:2 }}
{% endfor %}
Total Assets: {{ delta_assets|floatformat:2 }}  |  Total Liabilities: {{ delta_liabilities|floatformat:2 }}  |  Growth: {{ main_growth|floatformat:2 }}
{% endif %}
{% endblock %} {% block javascripts %} {% endblock %}